package cn.iocoder.yudao.module.system.convert.examclass;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.system.controller.admin.examclass.vo.*;
import cn.iocoder.yudao.module.system.dal.dataobject.examclass.ExamClassStudentDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 班级学生关联 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ExamClassStudentConvert {

    ExamClassStudentConvert INSTANCE = Mappers.getMapper(ExamClassStudentConvert.class);

    ExamClassStudentDO convert(ExamClassStudentCreateReqVO bean);

    ExamClassStudentDO convert(ExamClassStudentUpdateReqVO bean);

    ExamClassStudentRespVO convert(ExamClassStudentDO bean);

    List<ExamClassStudentRespVO> convertList(List<ExamClassStudentDO> list);

    PageResult<ExamClassStudentRespVO> convertPage(PageResult<ExamClassStudentDO> page);

    List<ExamClassStudentImportExcelVO> convertList02(List<ExamClassStudentDO> list);

    ExamClassStudentDO convert(ExamClassStudentImportExcelVO bean);

}